//  测试进程通讯
const { ipcRenderer } = require("electron");

window.addEventListener("load", () => {
  ipcRenderer.send("message", "hello form renderer");
  ipcRenderer.on("reply", (event, arg) => {
    document.getElementById("message").innerHTML = arg;
  });
});
